using System;
using Serpis;

namespace PVenta
{
	[Label("Categorías")]
	public class CategoriaListView : EntityListView
	{
		private const string sql = "select Id as id, Nombre as nombre from Categoria as categoria";
		public CategoriaListView () : base(typeof(Categoria), typeof(CategoriaView))
		{
			hBoxFilter.Visible = false;
			init();
		}
		
		protected override string getSql ()
		{
			return sql;
		}
	}
}
